package com.rowline.admin.module.study.jdknewfeature;

/**
 * ClassName:IFormula
 * Created by 245167
 * on 2018/5/4  04:32
 * description:
 */
public interface IFormula {

    double calculate(int a);
    default double sqrt(int a) {
        return Math.sqrt(a);
    }
    default double sum(int a,int b) {
        return a+b;
    }


}
